<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title> 登陆</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <script type="text/javascript" src="../script/api.js"></script>
    <script type="text/javascript" src="../script/vue.min.js"></script>
<script type="text/javascript" src="../script/zepto.min.js"></script>
      <script type="text/javascript" src="../script/fastclick.js"></script>
<script type="text/javascript" src="../script/app.js"></script>

	<style>
        .login-third {
            margin-top: 3rem;
        }

	</style>
</head>
<body>
  <div class="page" id="pageOrderDetail">

  <header class="aui-bar aui-bar-nav aui-bar-dark aui-bg-yellow"  id="aui-header" style="margin-bottom:5px;">
    <a class="aui-pull-left" onclick="closeFrame()">
        <span class="aui-iconfont aui-icon-left"></span>返回
    </a><div class="aui-title">订单详情</div></header>

    <section class="aui-content-padded">
          <p class="aui-font-size-18 aui-text-center color-orange aui-margin-b-10"><img :src='item.avatarUrl'/> {{item.title}}</p>
          <p class="aui-font-size-20 aui-text-center color-orange aui-margin-b-10">{{item.order_amount}} </p>
          <p class="aui-font-size-18 aui-text-center color-orange aui-margin-b-10">{{item.payStatusText}} </p>
    </section>

    <section class="aui-content aui-margin-t-15">

        <ul class="aui-list aui-form-list"  >
          <li class="aui-list-item">
          <div class="aui-list-item-inner">
              <div class="aui-list-item-label light">
                  付款方式
              </div>
              <div class="aui-list-item-input" style="text-align: right;" >
                  {{item.paytypeText}}
              </div>
          </div>
        </li>

        <li class="aui-list-item">
        <div class="aui-list-item-inner">
            <div class="aui-list-item-label light">
                账单类型
            </div>
            <div class="aui-list-item-input" style="text-align: right;" >
                {{item.orderTypeText}}
            </div>
        </div>
      </li>

        <li class="aui-list-item">
        <div class="aui-list-item-inner">
            <div class="aui-list-item-label light">
                创建时间
            </div>
            <div class="aui-list-item-input" style="text-align: right;" >
                {{item.addtime}}
            </div>
        </div>
      </li>
      <li class="aui-list-item">
      <div class="aui-list-item-inner">
          <div class="aui-list-item-label light">
              订单号
          </div>
          <div class="aui-list-item-input" style="text-align: right;" >
              {{item.order_sn}}
          </div>
      </div>
    </li>
        </ul>
    </section>

    <section class="aui-content-padded" v-if="item.paystatus==1">
        <div class="aui-btn aui-btn-block aui-btn-yellow aui-btn-sm"  @click="refund(item.order_sn)" tapmode>退款</div>
    </section>


  </div>
  <script type="text/javascript" src="../script/orderDetail.js"></script>
</body>


</html>
